<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
		"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>Editor Test</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

	<style type="text/css">
		@import "../../../dojo/resources/dojo.css";
	</style>

	<!-- required: a default dijit theme: -->
	<link id="themeStyles" rel="stylesheet" href="../../../dijit/themes/claro/claro.css">

	<!-- required: dojo.js -->
	<script type="text/javascript" src="../../../dojo/dojo.js"
		djConfig="parseOnLoad: true, isDebug: true"></script>

	<script type="text/javascript">
		dojo.require("dijit.dijit");
		dojo.require("dijit.Editor");
		dojo.require("dojo.parser");
	</script>
</head>
<body class="claro">
<form method="get">
<p>
Plain text: 日本語
</p>

<p>
Same text should show up in the Editor:
</p>
<div name="field" id="editor" name="text" dojoType="dijit.Editor">
  日本語
</div>
<input type="submit" value="Save" />
<button type=button onclick="console.log(dijit.byId('editor').attr('value'))">getValue</button>
<button type=button onclick="dijit.byId('editor').attr('value', 'こんにちは')">set value to こんにちは</button>

</form>
</body>
</html>
